package com.devilvan.betrice.recruitment.repository;

import com.devilvan.betrice.recruitment.po.BossWelfarePo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.Set;


/**
 * @Description Boss直聘 招聘信息-福利信息 持久层
 * @author Evad.Wu
 * @date 2022-08-06
 */
@Repository
public interface BossWelfareRepository extends JpaRepository<BossWelfarePo,Long> {
    /**
     * 根据福利待遇查找
     *
     * @param welfares 福利待遇列表
     * @return 结果集
     */
    Set<BossWelfarePo> findByWelfareIn(@Param("welfares") Set<String> welfares);
}
